<html xmlns:th="http://www.thymeleaf.org">
<!--/*@thymesVar id="topJieList" type="java.util.List<com.chengliang.bbs.entry.Jie>"*/-->
<div th:if="${!#lists.isEmpty(topJieList)}" th:fragment="top" class="fly-panel">
    <div class="fly-panel-title fly-filter">
        <a>置顶</a>
        <a href="#LAY_signin" class="layui-hide-sm layui-show-xs-block fly-right" id="LAY_goSignin" style="color: #FF5722;">去签到</a>
    </div>
    <ul class="fly-list">
        <li th:each="jie : ${topJieList}">
            <a th:href="@{'/user/name/'+ ${jie.jieUser?.userNickName}}" href="user/home.html" class="fly-avatar">
                <img th:src="@{${jie.jieUser?.userAvatar}}" th:title="${jie.jieUser?.userNickName}" th:alt="${jie.jieUser?.userNickName}" src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">
            </a>
            <h2>
                <a th:text="${jie.columnType.describe}" class="layui-badge">动态</a>
                <a th:href="@{'/q/jie/'+${jie.jieId}}" href="jie/detail.html" th:text="${jie.jieTitle}">基于 layui 的极简社区页面模版</a>
            </h2>

            <div class="fly-list-info">
                <a th:href="@{'/user/name/'+ ${jie.jieUser?.userNickName}}" href="user/home.html" link>
                    <cite th:text="${jie.jieUser?.userNickName}">贤心</cite>
                    <!--                    <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
<!--                    <i class="layui-badge fly-badge-vip" >VIP3</i>-->
                </a>
                <span th:text="${#temporals.format(jie.jieCreateTime, 'yyyy-MM-dd HH:mm')}">刚刚</span>

                <span class="fly-list-kiss layui-hide-xs" title="悬赏元气">
                    <i class="layui-icon">&#xe756;</i>
                    <th:block th:text="${jie.rewardValue?.describe}"></th:block>
                </span>
                <span th:if="${jie.jieStatus.jieEnd}" class="layui-badge fly-badge-accept layui-hide-xs">已结</span>
                <span class="fly-list-nums">
                <i class="iconfont" title="人气" >&#xe60b;</i> [[${jie.jieStatus?.jieLookNumber}]]
                <i class="iconfont icon-pinglun1" title="回答"></i>[[${jie.jieStatus?.jieReplyNumber}]]
              </span>
            </div>
            <div class="fly-list-badge">
                <!--                <span th:if="${jie.jieStatus?.jieTop}" class="layui-badge layui-bg-black">置顶</span>-->
                <span th:if="${jie.jieStatus?.jieEssence}" class="layui-badge layui-bg-red">精帖</span>
            </div>
        </li>
    </ul>
</div>

<!--/*@thymesVar id="jieList" type="java.util.List<com.chengliang.bbs.entry.Jie>"*/-->
<ul th:fragment="list" class="fly-list">
    <li th:each="jie : ${jieList}">
        <a th:href="@{'/user/name/'+ ${jie.jieUser?.userNickName}}" href="user/home.html" class="fly-avatar">
            <img th:src="@{${jie.jieUser?.userAvatar}}" th:title="${jie.jieUser?.userNickName}" th:alt="${jie.jieUser?.userNickName}" src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">
        </a>

        <h2>
            <a th:text="${jie.columnType.describe}" class="layui-badge">动态</a>
            <a th:href="@{'/q/jie/'+${jie.jieId}}" href="jie/detail.html" th:text="${jie.jieTitle}">基于 layui 的极简社区页面模版</a>
        </h2>

        <div class="fly-list-info">
            <a th:href="@{'/user/name/'+ ${jie.jieUser?.userNickName}}" href="user/home.html" link>
                <cite th:text="${jie.jieUser?.userNickName}">贤心</cite>
                <!--                    <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
<!--                <i class="layui-badge fly-badge-vip">炼体</i>-->
            </a>
            <span th:text="${#temporals.format(jie.jieCreateTime, 'yyyy-MM-dd HH:mm')}">刚刚</span>

            <span class="fly-list-kiss layui-hide-xs" title="悬赏元气">
                    <i class="layui-icon">&#xe756;</i>
                    <th:block th:text="${jie.rewardValue?.describe}"></th:block>
                </span>
            <span th:if="${jie.jieStatus.jieEnd}" class="layui-badge fly-badge-accept layui-hide-xs">已结</span>
            <span class="fly-list-nums">
                <i class="iconfont" title="人气" >&#xe60b;</i> [[${jie.jieStatus?.jieLookNumber}]]
                <i class="iconfont icon-pinglun1" title="回答"></i>[[${jie.jieStatus?.jieReplyNumber}]]
              </span>
        </div>
        <div class="fly-list-badge">
            <span th:if="${jie.jieStatus?.jieTop}" class="layui-badge layui-bg-black">置顶</span>
            <span th:if="${jie.jieStatus?.jieEssence}" class="layui-badge layui-bg-red">精帖</span>
        </div>
    </li>

</ul>